﻿using System;

namespace WebUI
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ddlLanguage_SelectedIndexChanged(object sender, EventArgs e)
        {
            string language = ddlLanguage.SelectedValue;
            if (language != "0")
            {
                Response.Cookies["langId"].Value = language;
                Response.Redirect("Main.aspx");
            }
        }
    }
}